package com.wrenchserver.service.sys;

import java.util.Set;

import com.wrenchserver.entity.sys.UserEntity;
import com.wrenchserver.pojo.sys.TUser;

public interface  TUserService {
	public TUser getUserById(int userId);
	
	/**
	 * 创建用户
	 * @param jsonStr
	 * @return
	 * @throws Exception
	 */
	public String createUser(String jsonStr)  throws Exception;
	
	 public UserEntity getByUsername(String username);  
	  
	    public Set<String> getRoles(String username);  
	  
	    public Set<String> getPermissions(String username); 
}
